package com.example.accountprovider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.accountprovider.domain.Account;
import org.apache.ibatis.annotations.Param;

/**
 * @author Kong
 * @date 2021-8-19 11:51
 */
public interface IAccountService extends IService<Account> {
    int decreaseAccount(@Param("userId") Integer userId, @Param("balance") double balance);
}
